package cn.edu.nyist.integration.common;

public enum ResponseCode {
    SUCCESS(0,"SUCCESS"),
    ERROR(1,"ERROR"),
    LOGIN_EXPIRE(2,"LOGIN_EXPIRE"),
    ILLEGAL_ARGUMENTS(2,"ILLEGAL_ARGUMENTS");

    private final int code;
    private final String desc;

    ResponseCode(int code,String desc) {
        this.desc = desc;
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
